
//
//  MeiAngInterface.h
//  meiang_edu
//
//  Created by hfcb on 2018/7/29.
//  Copyright © 2018年 com.meiang.meiang_edu. All rights reserved.
//

#ifndef MeiAngInterface_h
#define MeiAngInterface_h

#pragma mark - 网络请求的Base地址
#define PROTOCOL @"http://"
//正式服务器
#define API_DOMAIN @"www.armyant.com.cn:8082/Army"
//测试服务器
#define DOMAINXX @""

// OSS存储
#define IMG_OSS @"http://60.205.57.49:8082/Army/v1.1_oss/oss_"

/** 获取验证码 */
#define REGISTER_SENDMSG [NSString stringWithFormat:@"%@%@/v1.1_register/sendmsg_",PROTOCOL,API_DOMAIN]
/** 登录 */
#define LOGIN_CHECK [NSString stringWithFormat:@"%@%@/v1.1_logincheck",PROTOCOL,API_DOMAIN]
/** 注册,更改或忘记密码 */
#define REGISTER_ADD_AAA [NSString stringWithFormat:@"%@%@/v1.1_register/add_aaa",PROTOCOL,API_DOMAIN]
/** 首页标签列表 */
#define HOME_LABEL_LIST [NSString stringWithFormat:@"%@%@/v1.1_first_labels/list_ddd",PROTOCOL,API_DOMAIN]
/** 首页标签下消息 */
#define PICKUP_MSG_LIST [NSString stringWithFormat:@"%@%@/v1.1_pickupmessage/list_",PROTOCOL,API_DOMAIN]
/** 用户下机构 */
#define USER_ORGANIZATION_LIST [NSString stringWithFormat:@"%@%@/v1.1_userorganization/list_",PROTOCOL,API_DOMAIN]
/** 首页欢迎列表 */
#define LIST_ARMY [NSString stringWithFormat:@"%@%@/v1.1_armyshow/list_army",PROTOCOL,API_DOMAIN]
/** 首页-获得当前欢迎影像 */
#define CURRENT_LIST_ARMY [NSString stringWithFormat:@"%@%@/v1.1_armyshow_current/list_army",PROTOCOL,API_DOMAIN]
/** 功能-获得功能分组 */
#define FUNCTION_GROUP_LIST [NSString stringWithFormat:@"%@%@/v1.1_functiongroup/list_",PROTOCOL,API_DOMAIN]
/** 功能-功能列表 */
#define FUNCTION_BYORG_LIST [NSString stringWithFormat:@"%@%@/v1.1_functionbyorg/list_",PROTOCOL,API_DOMAIN]
/** 功能-动态，留言 */
#define PICKUP_MSG_LIST [NSString stringWithFormat:@"%@%@/v1.1_pickupmessage/list_",PROTOCOL,API_DOMAIN]
/** 功能-员工列表 功能-资质 首页宝宝切换列表 首页机构过滤列表 */
#define BASE_LISTENTITY_LIST [NSString stringWithFormat:@"%@%@/v1.1_baselistentity/list_",PROTOCOL,API_DOMAIN]
/** 消息删除 */
#define MESSAGE_DELETE [NSString stringWithFormat:@"%@%@/v1.1_basemessage/delete_",PROTOCOL,API_DOMAIN]

/************************** 任务二 **************************/
/** 详情编辑-机构家庭组 */
#define ORGANIZATION_UPDATE [NSString stringWithFormat:@"%@%@/v1.1_organization/update",PROTOCOL,API_DOMAIN]
/** 二维码-信息 + 用户ID */
#define BASE_ENTITY_INFO [NSString stringWithFormat:@"%@%@/v1.1_baseentity/info_",PROTOCOL,API_DOMAIN]
/** 家庭组-接送人管理 + 机构guid */
#define BASE_LISTENTITY_LIST [NSString stringWithFormat:@"%@%@/v1.1_baselistentity/list_",PROTOCOL,API_DOMAIN]
/** 关联关系-添加修改    家庭组-修改与宝宝关系   关联关系-修改员工 */
#define BASE_ENTITY_ADD [NSString stringWithFormat:@"%@%@/v1.1_baseentity/add__ddd",PROTOCOL,API_DOMAIN]
/** 关联关系-停用 */
#define BASE_LIST_DISABLE [NSString stringWithFormat:@"%@%@/v1.1_baselist/disable",PROTOCOL,API_DOMAIN]
/** 关联关系－启用 */
#define BASE_LIST_ENABLE [NSString stringWithFormat:@"%@%@/v1.1_baselist/enable",PROTOCOL,API_DOMAIN]
/** 关联关系-删除 + 组织ID */
#define BASE_LIST_DELETE [NSString stringWithFormat:@"%@%@/v1.1_baselist/delete_",PROTOCOL,API_DOMAIN]
/** 家庭组-安排接送 */
#define SENDER_PLANS_ADD [NSString stringWithFormat:@"%@%@/v1.1_sender_plans/add__ddd",PROTOCOL,API_DOMAIN]
/** 家庭组-接送列表 + 孩子ID */
#define SENDER_PLANS_LIST [NSString stringWithFormat:@"%@%@/v1.1_sender_plans/list_",PROTOCOL,API_DOMAIN]
/** 用户详情-用户详情修改 */
#define USER_UPDATE [NSString stringWithFormat:@"%@%@/v1.1_user/update",PROTOCOL,API_DOMAIN]
/** 上传图片 */
#define OSS_STSAliR [NSString stringWithFormat:@"%@%@/StsToken",PROTOCOL,API_DOMAIN]

/** 用户详情 + 用户guid */
#define USER_INFO [NSString stringWithFormat:@"%@%@/v1.1_user/info_",PROTOCOL,API_DOMAIN]
/** 家庭组-宝宝的联系人 + 宝宝guid  相册-相册列表 */
#define BASE_LISTENTITY_LIST [NSString stringWithFormat:@"%@%@/v1.1_baselistentity/list_",PROTOCOL,API_DOMAIN]
/** 家庭组管理-宝宝修改 */
#define CHILDREN_UPDATE [NSString stringWithFormat:@"%@%@/v1.1_children/update",PROTOCOL,API_DOMAIN]
/** 家庭组管理-宝宝详情 */
#define CHILDREN_INFO [NSString stringWithFormat:@"%@%@/v1.1_children/info_",PROTOCOL,API_DOMAIN]

/************************** 任务三 **************************/

/** 关注管理-机构删除 */
#define BASELIST_DELETE [NSString stringWithFormat:@"%@%@/v1.1_baselist/delete_",PROTOCOL,API_DOMAIN]

/** 服务管理-服务管理 */
#define PICKUP_MESSAGE_LIST [NSString stringWithFormat:@"%@%@/v1.1_pickupmessage/list_",PROTOCOL,API_DOMAIN]

/** 相册-相册重命名 */
#define ALBUM_UPDATE [NSString stringWithFormat:@"%@%@/v1.1_album/update",PROTOCOL,API_DOMAIN]

/** 相册-相册删除 */
#define ALBUM_DELETE [NSString stringWithFormat:@"%@%@/v1.1_album/delete_",PROTOCOL,API_DOMAIN]

/** 相册-相册增加 */
#define ALBUM_ADD [NSString stringWithFormat:@"%@%@/v1.1_album/add_",PROTOCOL,API_DOMAIN]

///////
// -------------------------------------------------------------------------------------------------------------- //
/** 作业-作业详情机构段 */
#define HOME_WORK_DETAIL [NSString stringWithFormat:@"%@%@/v1.1_basemessage/list_",PROTOCOL,API_DOMAIN]
/** 作业-作业详情家长端 */
#define HOME_WORK_DETAIL_GENEARCH [NSString stringWithFormat:@"%@%@/v1.1_message_zy/info_",PROTOCOL,API_DOMAIN]
/** 消息-删除消息详情 */
#define DETAIL_MESSAGE_DELETE [NSString stringWithFormat:@"%@%@/v1.1_pickupmessage/delete_",PROTOCOL,API_DOMAIN]
/** 消息-点击报名 */
#define MESSAGE_SIGN [NSString stringWithFormat:@"%@%@/v1.1_message_signin/add_",PROTOCOL,API_DOMAIN]
/** 消息-撤销报名 */
#define MESSAGE_DELETE_SIGN [NSString stringWithFormat:@"%@%@/v1.1_message_signin/delete_",PROTOCOL,API_DOMAIN]
/** 消息-消息详情 */
#define MESSAGE_DETAIL [NSString stringWithFormat:@"%@%@/v1.1_basemessage/info_",PROTOCOL,API_DOMAIN]
/** 消息-获得回复信息 */
#define MESSAGE_GET_REVERT [NSString stringWithFormat:@"%@%@/v1.1_message_child/list_",PROTOCOL,API_DOMAIN]
/** 作业-确认完成 */
#define HOME_WORK_SUBMIT [NSString stringWithFormat:@"%@%@/v1.1_zy_status/update",PROTOCOL,API_DOMAIN]

/** 获取sts凭证地址 */
#define GetStsToken_URL [NSString stringWithFormat:@"%@%@/StsToken",PROTOCOL,API_DOMAIN]

/**通用录入-获得分类*/
#define GetCategory_url [NSString stringWithFormat:@"%@%@/v1.1_general_input_type/list_",PROTOCOL,API_DOMAIN]
/**通用录入-信息保存*/
#define  SavePutInfo_url [NSString stringWithFormat:@"%@%@/v1.1_general_input/add_",PROTOCOL,API_DOMAIN]

/**图片查看*/
#define  ShowImage_url [NSString stringWithFormat:@"%@%@/v1.1_photo/info_",PROTOCOL,API_DOMAIN]

/**接送记录的宝宝*/
#define  Pick_up_baby [NSString stringWithFormat:@"%@%@/v1.1_baselistentity/list_",PROTOCOL,API_DOMAIN]

/**宝宝的接送记录*/
#define  Baby_pick_up [NSString stringWithFormat:@"%@%@/v1.1_child_attence/list_",PROTOCOL,API_DOMAIN]

/**宝宝的考勤记录*/
#define  Baby_attendance [NSString stringWithFormat:@"%@%@/v1.1_children_kq/info_",PROTOCOL,API_DOMAIN]

/**宝请假*/
#define  Baby_ask_for_leave [NSString stringWithFormat:@"%@%@/v1.1_children_qj/add_",PROTOCOL,API_DOMAIN]

/**宝销假*/
#define  Baby_terminate_leave [NSString stringWithFormat:@"%@%@/v1.1_children_xj/add_",PROTOCOL,API_DOMAIN]

//作业详情
#define WorkDetail_url  [NSString stringWithFormat:@"%@%@/v1.1_message_zy/info_",PROTOCOL,API_DOMAIN]

//作业-确认完成
#define SaveWork_url [NSString stringWithFormat:@"%@%@/v1.1_zy_status/update",PROTOCOL,API_DOMAIN]

/**保存到相册*/
#define  Photo_list [NSString stringWithFormat:@"%@%@/v1.1_photo/list_",PROTOCOL,API_DOMAIN]

/**保存到相册*/
#define  Photo_copy [NSString stringWithFormat:@"%@%@/v1.1_photocopy/update",PROTOCOL,API_DOMAIN]

/** 图片记录 */
#define  WORKPIC_RECORD [NSString stringWithFormat:@"%@%@/v1.1_workpicrecord/list_",PROTOCOL,API_DOMAIN]

/** 修改i密码 */
#define  CHANGE_PASSWORD [NSString stringWithFormat:@"%@%@/v1.1_changepassword/update",PROTOCOL,API_DOMAIN]

/** 退出登录 */
#define  USER_LOGOUT [NSString stringWithFormat:@"%@%@/v1.1_unlogin",PROTOCOL,API_DOMAIN]

/** 创建家庭组 */
#define  GREAT_FAMILY_GROUP [NSString stringWithFormat:@"%@%@/v1.1_family/add_",PROTOCOL,API_DOMAIN]

/** 添加宝宝 */
#define  BABY_ADD [NSString stringWithFormat:@"%@%@/v1.1_children/add_",PROTOCOL,API_DOMAIN]

//极光tag   v1.1_usertags/ list_
#define  JIGUANG_TAG [NSString stringWithFormat:@"%@%@/v1.1_usertags/list_",PROTOCOL,API_DOMAIN]

//删除卡片
#define  CARD_DELETE [NSString stringWithFormat:@"%@%@/v1.1_basemessage_main/delete_guid",PROTOCOL,API_DOMAIN]

//停用卡片
#define  CARD_STOPUSE [NSString stringWithFormat:@"%@%@/v1.1_basemessage_main/disable_",PROTOCOL,API_DOMAIN]

//已读未读统计
#define  NOTICE_MESSAGE_READ [NSString stringWithFormat:@"%@%@/v1.1_message_entity/info_",PROTOCOL,API_DOMAIN]

//重复通知未读用户
#define  RENOTICE_UNREAD_USER [NSString stringWithFormat:@"%@%@/v1.1_basemessage_main/reload_",PROTOCOL,API_DOMAIN]

//删除消息
#define  DELETE_MESSAGE [NSString stringWithFormat:@"%@%@/v1.1_basemessage_main/delete_guid",PROTOCOL,API_DOMAIN]

//食谱管理-单日菜品列表
#define  COOK_ONEDAY_LIST [NSString stringWithFormat:@"%@%@/v1.1_menu/list_",PROTOCOL,API_DOMAIN]

#endif /* MeiAngInterface_h */
